package com.jiawa.train.member.controller;

import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController

public class TestController {
    @GetMapping("/hello")
    public String hello() {
//        String port = environment.getProperty("local.server.port");
//        return String.format("Hello %s! 端口：%s", testNacos, port);

        return "Hello";
    }
}
